<template>
  <el-breadcrumb separator-class="el-icon-arrow-right">
    <el-breadcrumb-item :to="{ path: '/home' }" :replace="true">首页</el-breadcrumb-item>
    <el-breadcrumb-item v-for="item in itemlist" :key="item">{{item}}</el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
export default {
    name: 'myBreadcrumb',
    props: {
      itemlist: {
        type: Array,
        default: () => ['1','2']
      }
    }
}
</script>

<style>

</style>